<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>个人博客发布</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    {load href="__STATIC__/uploadify/uploadify.css" /}
    {load href="__STATIC__/uploadify/jquery.uploadify.min.js" /}
    {load href="__STATIC__/js/image.js" /}
    <script type="text/javascript" src="__STATIC__/uedieor/ueditor.config.js"></script>
    <script type="text/javascript" src="__STATIC__/uedieor/ueditor.all.js"></script>


</head>
<body>


<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    亲爱的宝宝<small>您又来了</small>
                </h1>
            </div>
        </div>
    </div>
</div>
    <div class="row clearfix">
        <div class="col-md-12 column">
            <form class="form-horizontal" role="form" action="{:url('add/add')}" method="post" enctype="multipart/form-data">
                <div class="form-group" style="height:50%;width:50%">
                    <label class="col-sm-2 control-label" >标题</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="title" value="" />
                    </div>
                </div>

<!--                <div class="form-group" style="height:50%;width:50%">-->
<!--                    <label class="col-sm-2 control-label">作者</label>-->
<!--                    <div class="col-sm-10">-->
<!--                        <input type="text" class="form-control" name="about" value="" />-->
<!--                    </div>-->
<!--                </div>-->

                <div class="form-group" style="height:50%;width:50%">
                    <label class="col-sm-2 control-label">封面</label>
                    <div class="col-sm-10">
                        <input type="file" id="file_upload" >
                        <img style="display: none" id="upload_org_code_img" src="" width="150" height="150">
                        <input type="hidden" id="file_upload_image" name="logimg" value="">
                    </div>
                </div>

                <div class="form-group" style="height:50%;width:50%">
                    <label class="col-sm-2 control-label">内容</label>

                </div>
                <textarea id="container" name="content" >

                </textarea>

                <div class="container">
                    <button type="submit" class="btn btn-info btn-block" >发布</button>
                </div>
            </form>
        </div>
    </div>
</div>





</body>

<script type="text/javascript">
    var ue = UE.getEditor('container'
    );
</script>
<script>
    var SCOPE = {
        'uploadify_swf' : '__STATIC__/uploadify/uploadify.swf',
        'image_upload' : '{:url('/api/Image/upload')}',
    };
</script>



</html>